<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/tools.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/jquery.corner.js"></script>
<style type="text/css">
	body{
		font-size: 20px;
		font-family: SimHei;
	}
</style>
</head>

<body>

	<div align="center" style="height: 220px;">
		<div id="top" style="width:950px;">
			<img src="images/logo.jpg" width="950" height="150" border="0" />
			<p style="font-size: 14px;float: left;">
				您当前的位置:&nbsp;&nbsp;<a href="findProductAction">首页</a>&nbsp;&nbsp;>>&nbsp;&nbsp;产品详情
			</p>
		</div>
	</div>
	<div align="center">
		<div style="width: 800px;height: 340px;" align="left">
			<div style="width: 380px;height: 380px;float: left;">
			<img src="getImagesAction?produceId=<s:property value='produceId'/>"  width="320px" height="320px" style="border: 1px solid #ccc;">
			</div>	
			<div style="width:420px;height: 380px;float: left;">
				<span style="color: gray;">
				产品名称:
				</span>
				<span style="color:skyblue;">
				<s:property value="produceName"/><br/>
				</span>
				<span style="color: gray;">
					产品价格:
				</span>
				
				<span style="color:#FF9900;">
				<s:property value="producePrice"/>元<br/>
				</span>
				
				<span style="color: gray;">
				产品详情:
				</span>
				<span style="color:green;">
				<s:property value="produceNote"/><br/>
				</span>
			</div>
		</div>
			
	</div>

	<hr width="100%" style="color:#ccc;float: left;position: relative;top:20px;" />
	<br />
	<div align="center" style="width: 100%;float: left;position: relative;top: 20px;">
		<a href="#" style="text-decoration:none;color:#666;font-size: 14px;">联系我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		<a href="#" style="text-decoration:none;color:#666;font-size: 14px;">加入我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		<s:if test="#session.ui!=null">
			<a href="exitAction"
				style="text-decoration:none;color:#666;font-size: 14px;">【退出】</a>
		</s:if>
		<s:else>
			<a href="javascript:showBox('登录','login()')"
				style="text-decoration:none;color:#666;font-size: 14px;">管理员入口</a>
		</s:else>
		<br /> <br /> <br />
	</div>
</body>
</html>
